package com.gpframework.module.wages.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.gpframework.common.core.domain.BasePlusEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @ClassName GzPersonnelFoundation
 * @Author gpframework
 * @Date 2024-01-18
 * @Version 1.0.0
 * @Description 人员基础 PO对象
 */
@Data
@ToString
@EqualsAndHashCode
@NoArgsConstructor
@Accessors(chain = true)
@TableName("gz_personnel_foundation")
public class GzPersonnelFoundation extends BasePlusEntity {
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;
    /** 部门 */
    private String departmentName;
    /**1档口及办公室工资2中转3仓库（其他数字根据需求变化）  */
    private Long departmentType;
    //岗位name
    private String postName;
    //小类等级
    private String subclassIevel;
    /** 名字 */
    private String name;
    /** 入职日期 */
    private Date joinedDate;
    /** 月度休假日 */
    private Double monthlyDays;
    /** 基本工资 */
    private BigDecimal basicSalary;
    /** 岗位工资 */
    private BigDecimal postWage;
    /** 管理津贴 */
    private BigDecimal managementAllowance;
    /** 住房津贴 */
    private BigDecimal houseaLlowance;
    /** 社保补贴 */
    private BigDecimal socialSecuritySubsidies =new BigDecimal(0);
    /** 绩效奖金 */
    private BigDecimal achievementBonus;
    /** 评定标准奖金 */
    private String evaluationCriteriaBonus;
    /** 新增高温补贴 */
    private BigDecimal increaseTemperatureSubsidy;
    /** 工资级别 (大类等级) */
    private String salaryLevel;
    /** 销售档次 */
    private BigDecimal salesLevel;
    /** 工龄奖 */
    private BigDecimal serviceExperienceAward;
    /** 其他补贴 */
    private BigDecimal otherSubsidies =new BigDecimal(0);
    /** 社保个人部分 */
    private BigDecimal personalPortionOfSocialSecurity;

    /** 月度休假iD */
    private Long monthlyLeaveId;
    /** 应出勤天数 */
    private Double requireDateNdancedays;
    /** 排序 */
    private Long sort;
    /** 备注 */
    private String remarks;

    /** 对应绩效系数 */
    private Double performanceCoefficient=new Double(0);

    /** 评定等级 */
    private String ratingIevel;

    /** 全勤奖金 */
    private BigDecimal fullAttendanceBonus;

    /** 加班费 */
    private BigDecimal overtimePay;

}
